package com.lxb.blog.dao;

import com.lxb.blog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository  extends JpaRepository<User,Integer>{

    User findByUsernameAndPassword(String username, String password);
}
